package org.gdpu.Service;

import org.gdpu.base.DAO;
import org.gdpu.model.Campus;
import org.gdpu.model.College;

import java.util.List;

/**
 * Created by HEWI2 on 2/17/14.
 */
public interface CampusService extends DAO {

    /**
     * 查找校区
     *
     * @param campus 校区名字
     * @return 校区
     */
    public Campus findByCampusByName(String campus);

    /**
     * 查询全部校区
     * @return
     */
    public List<Campus> findAll();
}
